<a href="/some/<selection>ref/foo&amp;b<caret>ar</selection>">jdjfkd</a>